import Mock from "mockjs";

// 定义数据类型
let data = Mock.mock({
    // 20条数据
    "data|6": [{
        "num|+1": 1,
        teacher: "@ctitle(1)" + "老师",
        "sex|1": ["男", "女"],
        "course|1": ["语文", "数学", "英语", "科学"],
        "methods|1": ["全职+课时责任制", "兼职+课时责任制", "兼职+上课总人数"],
        sfz: "@id",
        country: "浙江省金华市新城区新华路翻斗花园高质量小区5栋8109",
        "time|": ["120分钟", "180分钟"],
    }, ],
});

class jsxqService {
    getDate() {
        return Promise.resolve({
            data,
        });
    }
}

const jsxq = new jsxqService();
export default jsxq;